#!/bin/bash
unzip -o ai-web-admin-qidian.zip
chmod -R u+x .
pnpm i
if [ "$(pm2 list|grep proxy-ai-web-admin-qidian)" == "" ];then
  pnpm run pm2:qidian
else
  pm2 restart proxy-ai-web-admin-qidian
fi
